<?php    // +----------------------------------------------------------------------    // | 投诉模型    // +----------------------------------------------------------------------    // | Copyright (c) 2015-2024 http://www.yicmf.com, All rights reserved.    // +----------------------------------------------------------------------    // | Author: 微尘 <yicmf@qq.com>    // +----------------------------------------------------------------------    namespace app\model\ucenter;    use app\model\store\Order;    class ComplaintLog extends Common    {		/**		 * 写入修改		 * @param $data		 */		public static function onBeforeInsert($data)		{			$data['status'] = 1;			$data['ip'] = request()->ip();//			$data['os'] = request()->server('HTTP_USER_AGENT');		}	}